package com.cjc.pinyin4j;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
/**
 * 
 *****************************************************
 * <hr>
 * <dt><span class="strong">类功能简介:</span></dt>
 * <dd>Coffee</dd>
 * <dt><span class="strong">创建时间:</span></dt>
 * <dd>2015-4-3 下午1:33:44</dd>
 * <dt><span class="strong">公司:</span></dt>
 * <dd>Fragment 基类</dd>
 * @author aa1000777 - Email:aa1000777@qq.com
 *****************************************************
 */
public class BaseFragment extends Fragment{
	public FragmentManager fragmentManager;
	public Context context;
	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		context = this.getActivity().getApplicationContext();
		fragmentManager = this.getFragmentManager();
	}

	public void exit() {
		this.getActivity().finish();
	}
}
